package com.mycloud.enums;

import lombok.Getter;

/**
 * Created by PC on 2019/1/19.
 */
@Getter
public enum RoleEnum {


    BUYER(1,"买家"),
    SELLER(2,"卖家"),
    ;


    private Integer code;

    private String msg;

    RoleEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
